home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
win_utl2
/
switch2e.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-06-07
|
1KB
|
41 lines
@echo off
cls
echo *******************************************************************************
echo * *
echo * Switch 2.0 Install *
echo * Copyright 1994 *
echo * *
echo *******************************************************************************
if NOT %1=="" goto second
echo First Parameter must be the name of the directory to install Switch 2.0
echo .
:second
if NOT %2=="" goto install
echo Second Parameter must be the name of your Microsoft Windows directory.
goto leave
:install
echo Copying Switch.exe to %1....
copy switch.exe %1 > NUL
if EXIST %1\switch.exe goto help
echo ERROR! Incomplete installation - could not copy Switch.exe to %1
del %1 > NUL
goto err
:help
echo Copying Switch.hlp to %1....
copy switch2.hlp %1 > NULL
if Exist %1\switch2.hlp goto bwcc
echo ERROR! Incomplete installation - could not copy Switch.hlp to %1
goto err
:bwcc
echo Copying Bwcc.dll to %2\system....
copy bwcc.dll %2\system >NULL
if Exist %2\system\bwcc.dll goto exit
echo ERROR! Incomplete installation - could not copy BWCC.DLL to %2\system
goto err
:exit
echo Installation Successful
goto leave
:err
echo Please check to see if %1 and %2\system directories exist.
:leave